package com.zjh.service.provider;

import com.zjh.dao.provider.ProviderMapper;
import com.zjh.pojo.Provider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ProviderServiceImpl implements ProviderService{

    @Autowired
    ProviderMapper providerMapper;

    @Override
    public List<Provider> getProviderList(Map<String,Object> map) {
        return providerMapper.getProviderList(map);
    }

    @Override
    public int add(Map<String,Object> map) {
        return providerMapper.add(map);
    }

    @Override
    public int deleteProviderById(String delId) {
        return 0;
    }

    @Override
    public Provider getProviderById(String id) {
        return null;
    }

    @Override
    public int modify(Provider provider) {
        return 0;
    }
}
